home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / info / xemacs.info-1 < prev    next >
Encoding:
GNU Info File  |  1995-09-01  |  49.8 KB  |  1,124 lines

  1. This is Info file ../../info/xemacs.info, produced by Makeinfo-1.63
  2. from the input file xemacs.texi.
  3.  
  4.    This file documents the XEmacs editor.
  5.  
  6.    Copyright (C) 1985, 1986, 1988 Richard M. Stallman.  Copyright (C)
  7. 1991, 1992, 1993, 1994 Lucid, Inc.  Copyright (C) 1993, 1994 Sun
  8. Microsystems, Inc.  Copyright (C) 1995 Amdahl Corporation.
  9.  
  10.    Permission is granted to make and distribute verbatim copies of this
  11. manual provided the copyright notice and this permission notice are
  12. preserved on all copies.
  13.  
  14.    Permission is granted to copy and distribute modified versions of
  15. this manual under the conditions for verbatim copying, provided also
  16. that the sections entitled "The GNU Manifesto", "Distribution" and "GNU
  17. General Public License" are included exactly as in the original, and
  18. provided that the entire resulting derived work is distributed under the
  19. terms of a permission notice identical to this one.
  20.  
  21.    Permission is granted to copy and distribute translations of this
  22. manual into another language, under the above conditions for modified
  23. versions, except that the sections entitled "The GNU Manifesto",
  24. "Distribution" and "GNU General Public License" may be included in a
  25. translation approved by the author instead of in the original English.
  26.  
  27. 
  28. File: xemacs.info,  Node: Top,  Next: License,  Up: (dir)
  29.  
  30.    The XEmacs Editor *****************
  31.  
  32.    XEmacs is the extensible, customizable, self-documenting real-time
  33. display editor.  This Info file describes how to edit with Emacs and
  34. some of how to customize it, but not how to extend it.  It corresponds
  35. to XEmacs version 19.13.
  36.  
  37.    This manual is intended as a detailed reference to XEmacs.  If you
  38. are looking for an introductory manual, see the New User's Guide.
  39.  
  40. * Menu:
  41.  
  42. * License::     The GNU General Public License gives you permission
  43.         to redistribute XEmacs on certain terms; and also
  44.         explains that there is no warranty.
  45. * Distrib::     How to get XEmacs.
  46. * Intro::       An introduction to XEmacs concepts.
  47. * Glossary::    The glossary.
  48. * Manifesto::   What's GNU?  Gnu's Not Unix!
  49.  
  50. Indices, nodes containing large menus
  51. * Key Index::      An item for each standard XEmacs key sequence.
  52. * Command Index::  An item for each command name.
  53. * Variable Index:: An item for each documented variable.
  54. * Concept Index::  An item for each concept.
  55.  
  56. Important General Concepts
  57. * Frame::      How to interpret what you see on the screen.
  58. * Keystrokes::  Keyboard gestures XEmacs recognizes.
  59. * Pull-down Menus::
  60.                 The XEmacs Pull-down Menus available under X.
  61. * Entering Emacs::
  62.                 Starting Emacs from the shell.
  63. * Exiting::     Stopping or killing XEmacs.
  64. * Command Switches::
  65.                 Hairy startup options.
  66.  
  67. Fundamental Editing Commands
  68. * Basic::       The most basic editing commands.
  69. * Undo::        Undoing recently made changes in the text.
  70. * Minibuffer::  Entering arguments that are prompted for.
  71. * M-x::         Invoking commands by their names.
  72. * Help::        Commands for asking XEmacs about its commands.
  73.  
  74. Important Text-Changing Commands
  75. * Mark::        The mark: how to delimit a "region" of text.
  76. * Mouse Selection::
  77.                 Selecting text with the mouse.
  78. * Additional Mouse Operations::
  79.                 Other operations available from the mouse.
  80. * Killing::     Killing text.
  81. * Yanking::     Recovering killed text.  Moving text.
  82. * Using X Selections::
  83.                 Using primary selection, cut buffers, and highlighted regions.
  84. * Accumulating Text::
  85.                 Other ways of copying text.
  86. * Rectangles::  Operating on the text inside a rectangle on the screen.
  87. * Registers::   Saving a text string or a location in the buffer.
  88. * Display::     Controlling what text is displayed.
  89. * Search::      Finding or replacing occurrences of a string.
  90. * Fixit::       Commands especially useful for fixing typos.
  91.  
  92. Larger Units of Text
  93. * Files::       All about handling files.
  94. * Buffers::     Multiple buffers; editing several files at once.
  95. * Windows::     Viewing two pieces of text at once.
  96.  
  97. Advanced Features
  98. * Major Modes:: Text mode vs. Lisp mode vs. C mode ...
  99. * Indentation:: Editing the white space at the beginnings of lines.
  100. * Text::        Commands and modes for editing English.
  101. * Programs::    Commands and modes for editing programs.
  102. * Running::     Compiling, running and debugging programs.
  103. * Abbrevs::     How to define text abbreviations to reduce
  104.                  the number of characters you must type.
  105. * Picture::     Editing pictures made up of characters
  106.                  using the quarter-plane screen model.
  107. * Sending Mail::Sending mail in XEmacs.
  108. * Reading Mail::Reading mail in XEmacs.
  109. * Calendar/Diary:: A Calendar and diary facility in XEmacs.
  110. * Sorting::    Sorting lines, paragraphs or pages within XEmacs.
  111. * Shell::       Executing shell commands from XEmacs.
  112. * Narrowing::   Restricting display and editing to a portion
  113.                  of the buffer.
  114. * Hardcopy::    Printing buffers or regions.
  115. * Recursive Edit::
  116.                 A command can allow you to do editing
  117.                  "within the command".  This is called a
  118.                  `recursive editing level'.
  119. * Dissociated Press::  Dissociating text for fun.
  120. * CONX::           A different kind of dissociation.
  121. * Amusements::         Various games and hacks.
  122. * Emulation::           Emulating some other editors with XEmacs.
  123. * Customization::      Modifying the behavior of XEmacs.
  124.  
  125. Recovery from Problems.
  126. * Quitting::    Quitting and aborting.
  127. * Lossage::     What to do if XEmacs is hung or malfunctioning.
  128. * Bugs::        How and when to report a bug.
  129.  
  130. Here are some other nodes which are really inferiors of the ones
  131. already listed, mentioned here so you can get to them in one step:
  132.  
  133.  -- The Detailed Node Listing --
  134.  
  135. The Organization of the Frame
  136.  
  137. * Point::            The place in the text where editing commands operate.
  138. * Echo Area::           Short messages appear at the bottom of the frame.
  139. * Mode Line::            Interpreting the mode line.
  140. * XEmacs under X::      Some information on using XEmacs under the X
  141.                         Window System.
  142.  
  143. Keystrokes
  144.  
  145. * Intro to Keystrokes::      Keystrokes as building blocks of key sequences.
  146. * Representing Keystrokes::  Using lists of modifiers and keysyms to
  147.                              represent keystrokes.
  148. * Key Sequences::            Combine key strokes into key sequences you can
  149.                              bind to commands.
  150. * String Key Sequences::     Available for upward compatibility.
  151. * Meta Key::                 Using ESC to represent Meta
  152. * Super and Hyper Keys::     Adding modifier keys on certain keyboards.
  153. * Character Representation:: How characters appear in XEmacs buffers.
  154. * Commands::                 How commands are bound to key sequences.
  155.  
  156. Pull-down Menus
  157.  
  158. * File Menu::           Items on the File menu.
  159. * Edit Menu::           Items on the Edit menu.
  160. * Buffers Menu::        Information about the Buffers menu
  161. * Help Menu::           Items on the Help menu.
  162. * Menu Customization::  Adding and removing menu items and related
  163.                         operations.
  164.  
  165. Basic Editing Commands
  166.  
  167. * Blank Lines::        Commands to make or delete blank lines.
  168. * Continuation Lines:: Lines too wide for the frame.
  169. * Position Info::      What page, line, row, or column is point on?
  170. * Arguments::           Numeric arguments for repeating a command.
  171.  
  172. The Minibuffer
  173.  
  174. * File: Minibuffer File.  Entering file names with the minibuffer.
  175. * Edit: Minibuffer Edit.  How to edit in the minibuffer.
  176. * Completion::          An abbreviation facility for minibuffer input.
  177. * Repetition::          Re-executing commands that used the minibuffer.
  178.  
  179. The Mark and the Region
  180.  
  181. * Setting Mark::    Commands to set the mark.
  182. * Using Region::    Summary of ways to operate on contents of the region.
  183. * Marking Objects::    Commands to put region around textual units.
  184. * Mark Ring::       Previous mark positions saved so you can go back there.
  185.  
  186. Yanking
  187.  
  188. * Kill Ring::       Where killed text is stored.  Basic yanking.
  189. * Appending Kills:: Several kills in a row all yank together.
  190. * Earlier Kills::   Yanking something killed some time ago.
  191.  
  192. Using X Selections
  193.  
  194. * X Clipboard Selection::         Pasting to the X clipboard.
  195. * X Selection Commands::    Other operations on the selection.
  196. * X Cut Buffers::           X cut buffers are available for compatibility.
  197. * Active Regions::          Using zmacs-style highlighting of the
  198.                              selected region.
  199.  
  200. Registers
  201.  
  202. * RegPos::    Saving positions in registers.
  203. * RegText::   Saving text in registers.
  204. * RegRect::   Saving rectangles in registers.
  205.  
  206. Controlling the Display
  207.  
  208. * Scrolling::               Moving text up and down in a window.
  209. * Horizontal Scrolling::   Moving text left and right in a window.
  210. * Selective Display::      Hiding lines with lots of indentation.
  211. * Display Vars::           Information on variables for customizing display.
  212.  
  213. Searching and Replacement
  214.  
  215. * Incremental Search::     Search happens as you type the string.
  216. * Non-Incremental Search:: Specify entire string and then search.
  217. * Word Search::            Search for sequence of words.
  218. * Regexp Search::          Search for match for a regexp.
  219. * Regexps::                Syntax of regular expressions.
  220. * Search Case::            To ignore case while searching, or not.
  221. * Replace::                Search, and replace some or all matches.
  222. * Other Repeating Search:: Operating on all matches for some regexp.
  223.  
  224. Replacement Commands
  225.  
  226. * Unconditional Replace::  Replacing all matches for a string.
  227. * Regexp Replace::         Replacing all matches for a regexp.
  228. * Replacement and Case::   How replacements preserve case of letters.
  229. * Query Replace::          How to use querying.
  230.  
  231. Commands for Fixing Typos
  232.  
  233. * Kill Errors:: Commands to kill a batch of recently entered text.
  234. * Transpose::   Exchanging two characters, words, lines, lists...
  235. * Fixing Case:: Correcting case of last word entered.
  236. * Spelling::    Apply spelling checker to a word, or a whole file.
  237.  
  238. File Handling
  239.  
  240. * File Names::       How to type and edit file name arguments.
  241. * Visiting::         Visiting a file prepares XEmacs to edit the file.
  242. * Saving::           Saving makes your changes permanent.
  243. * Reverting::        Reverting cancels all the changes not saved.
  244. * Auto Save::        Auto Save periodically protects against loss of data.
  245. * Version Control::  Version control systems (RCS and SCCS).
  246. * ListDir::          Listing the contents of a file directory.
  247. * Comparing Files::  Finding where two files differ.
  248. * Dired::            "Editing" a directory to delete, rename, etc.
  249.                      the files in it.
  250. * Misc File Ops::    Other things you can do on files.
  251.  
  252. Saving Files
  253.  
  254. * Backup::       How XEmacs saves the old version of your file.
  255. * Interlocking:: How XEmacs protects against simultaneous editing
  256.                   of one file by two users.
  257.  
  258. Backup Files
  259.  
  260. * Names: Backup Names.        How backup files are named;
  261.                 Choosing single or numbered backup files.
  262. * Deletion: Backup Deletion.    XEmacs deletes excess numbered backups.
  263. * Copying: Backup Copying.    Backups can be made by copying or renaming.
  264.  
  265. Auto-Saving: Protection Against Disasters
  266.  
  267. * Files: Auto Save Files.
  268. * Control: Auto Save Control.
  269. * Recover::        Recovering text from auto-save files.
  270.  
  271. Version Control
  272.  
  273. * Concepts of VC::        Basic version control information;
  274.                   checking files in and out.
  275. * Editing with VC::        Commands for editing a file maintained
  276.                   with version control.
  277. * Variables for Check-in/out::    Variables that affect the commands used
  278.                   to check files in or out.
  279. * Log Entries::            Logging your changes.
  280. * Change Logs and VC::        Generating a change log file from log
  281.                   entries.
  282. * Old Versions::        Examining and comparing old versions.
  283. * VC Status::            Commands to view the VC status of files and
  284.                   look at log entries.
  285. * Renaming and VC::        A command to rename both the source and
  286.                   master file correctly.
  287. * Snapshots::            How to make and use snapshots, a set of
  288.                   file versions that can be treated as a unit.
  289. * Version Headers::        Inserting version control headers into
  290.                   working files.
  291.  
  292. Snapshots
  293.  
  294. * Making Snapshots::        The snapshot facilities.
  295. * Snapshot Caveats::        Things to be careful of when using snapshots.
  296.  
  297. Dired, the Directory Editor
  298.  
  299. * Enter: Dired Enter.         How to invoke Dired.
  300. * Edit: Dired Edit.           Editing the Dired buffer.
  301. * Deletion: Dired Deletion.   Deleting files with Dired.
  302. * Immed: Dired Immed.         Other file operations through Dired.
  303.  
  304. Using Multiple Buffers
  305.  
  306. * Select Buffer::   Creating a new buffer or reselecting an old one.
  307. * List Buffers::    Getting a list of buffers that exist.
  308. * Misc Buffer::     Renaming; changing read-onliness; copying text.
  309. * Kill Buffer::     Killing buffers you no longer need.
  310. * Several Buffers:: How to go through the list of all buffers
  311.                      and operate variously on several of them.
  312.  
  313. Multiple Windows
  314.  
  315. * Basic Window::     Introduction to XEmacs windows.
  316. * Split Window::     New windows are made by splitting existing windows.
  317. * Other Window::     Moving to another window or doing something to it.
  318. * Pop Up Window::    Finding a file or buffer in another window.
  319. * Change Window::    Deleting windows and changing their sizes.
  320.  
  321. Major Modes
  322.  
  323. * Choosing Modes::     How major modes are specified or chosen.
  324.  
  325. Indentation
  326.  
  327. * Indentation Commands:: Various commands and techniques for indentation.
  328. * Tab Stops::            You can set arbitrary "tab stops" and then
  329.                          indent to the next tab stop when you want to.
  330. * Just Spaces::          You can request indentation using just spaces.
  331.  
  332. Commands for Human Languages
  333.  
  334. * Text Mode::   The major modes for editing text files.
  335. * Nroff Mode::  The major mode for editing input to the formatter nroff.
  336. * TeX Mode::    The major modes for editing input to the formatter TeX.
  337. * Outline Mode::The major mode for editing outlines.
  338. * Words::       Moving over and killing words.
  339. * Sentences::   Moving over and killing sentences.
  340. * Paragraphs::    Moving over paragraphs.
  341. * Pages::    Moving over pages.
  342. * Filling::     Filling or justifying text
  343. * Case::        Changing the case of text
  344.  
  345. TeX Mode
  346.  
  347. * Editing: TeX Editing.   Special commands for editing in TeX mode.
  348. * Printing: TeX Print.    Commands for printing part of a file with TeX.
  349.  
  350. Outline Mode
  351.  
  352. * Format: Outline Format.      What the text of an outline looks like.
  353. * Motion: Outline Motion.      Special commands for moving through outlines.
  354. * Visibility: Outline Visibility. Commands to control what is visible.
  355.  
  356. Filling Text
  357.  
  358. * Auto Fill::      Auto Fill mode breaks long lines automatically.
  359. * Fill Commands:: Commands to refill paragraphs and center lines.
  360. * Fill Prefix::   Filling when every line is indented or in a comment, etc.
  361.  
  362. Editing Programs
  363.  
  364. * Program Modes::       Major modes for editing programs.
  365. * Lists::               Expressions with balanced parentheses.
  366.                          There are editing commands to operate on them.
  367. * Defuns::              Each program is made up of separate functions.
  368.                          There are editing commands to operate on them.
  369. * Grinding::            Adjusting indentation to show the nesting.
  370. * Matching::            Insertion of a close-delimiter flashes matching open.
  371. * Comments::            Inserting, filling and aligning comments.
  372. * Balanced Editing::    Inserting two matching parentheses at once, etc.
  373. * Lisp Completion::     Completion on symbol names in Lisp code.
  374. * Documentation::       Getting documentation of functions you plan to call.
  375. * Change Log::          Maintaining a change history for your program.
  376. * Tags::                Go directly to any function in your program in one
  377.                          command.  Tags remembers which file it is in.
  378. * Fortran::        Fortran mode and its special features.
  379. * Asm Mode::            Asm mode and its special features.
  380.  
  381. Indentation for Programs
  382.  
  383. * Basic Indent::
  384. * Multi-line Indent::   Commands to reindent many lines at once.
  385. * Lisp Indent::        Specifying how each Lisp function should be indented.
  386. * C Indent::        Choosing an indentation style for C code.
  387.  
  388. Tag Tables
  389.  
  390. * Tag Syntax::
  391. * Create Tag Table::
  392. * Select Tag Table::
  393. * Find Tag::
  394. * Tags Search::
  395. * Tags Stepping::
  396. * List Tags::
  397.  
  398. Fortran Mode
  399.  
  400. * Motion: Fortran Motion.     Moving point by statements or subprograms.
  401. * Indent: Fortran Indent.     Indentation commands for Fortran.
  402. * Comments: Fortran Comments. Inserting and aligning comments.
  403. * Columns: Fortran Columns.   Measuring columns for valid Fortran.
  404. * Abbrev: Fortran Abbrev.     Built-in abbrevs for Fortran keywords.
  405.  
  406. Fortran Indentation
  407.  
  408. * Commands: ForIndent Commands. Commands for indenting Fortran.
  409. * Numbers:  ForIndent Num.      How line numbers auto-indent.
  410. * Conv:     ForIndent Conv.     Conventions you must obey to avoid trouble.
  411. * Vars:     ForIndent Vars.     Variables controlling Fortran indent style.
  412.  
  413. Compiling and Testing Programs
  414.  
  415. * Compilation::        Compiling programs in languages other than Lisp
  416.                         (C, Pascal, etc.)
  417. * Modes: Lisp Modes.   Various modes for editing Lisp programs, with
  418.                        different facilities for running the Lisp programs.
  419. * Libraries: Lisp Libraries.      Creating Lisp programs to run in XEmacs.
  420. * Eval: Lisp Eval.     Executing a single Lisp expression in XEmacs.
  421. * Debug: Lisp Debug.   Debugging Lisp programs running in XEmacs.
  422. * Interaction: Lisp Interaction.  Executing Lisp in an XEmacs buffer.
  423. * External Lisp::      Communicating through XEmacs with a separate Lisp.
  424.  
  425. Lisp Libraries
  426.  
  427. * Loading::        Loading libraries of Lisp code into XEmacs for use.
  428. * Compiling Libraries:: Compiling a library makes it load and run faster.
  429. * Mocklisp::        Converting Mocklisp to Lisp so XEmacs can run it.
  430.  
  431. Abbrevs
  432.  
  433. * Defining Abbrevs::  Defining an abbrev, so it will expand when typed.
  434. * Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion.
  435. * Editing Abbrevs::   Viewing or editing the entire list of defined abbrevs.
  436. * Saving Abbrevs::    Saving the entire list of abbrevs for another session.
  437. * Dynamic Abbrevs::   Abbreviations for words already in the buffer.
  438.  
  439. Editing Pictures
  440.  
  441. * Basic Picture::         Basic concepts and simple commands of Picture Mode.
  442. * Insert in Picture::     Controlling direction of cursor motion
  443.                            after "self-inserting" characters.
  444. * Tabs in Picture::       Various features for tab stops and indentation.
  445. * Rectangles in Picture:: Clearing and superimposing rectangles.
  446.  
  447. Sending Mail
  448.  
  449. * Format: Mail Format.    Format of the mail being composed.
  450. * Headers: Mail Headers.  Details of allowed mail header fields.
  451. * Mode: Mail Mode.        Special commands for editing mail being composed.
  452.  
  453. Running Shell Commands from XEmacs
  454.  
  455. * Single Shell::         How to run one shell command and return.
  456. * Interactive Shell::    Permanent shell taking input via XEmacs.
  457. * Shell Mode::           Special XEmacs commands used with permanent shell.
  458.  
  459. Customization
  460.  
  461. * Minor Modes::     Each minor mode is one feature you can turn on
  462.                      independently of any others.
  463. * Variables::       Many XEmacs commands examine XEmacs variables
  464.                      to decide what to do; by setting variables,
  465.                      you can control their functioning.
  466. * Keyboard Macros:: A keyboard macro records a sequence of keystrokes
  467.                      to be replayed with a single command.
  468. * Key Bindings::    The keymaps say what command each key runs.
  469.                      By changing them, you can "redefine keys".
  470. * Syntax::          The syntax table controls how words and expressions
  471.                      are parsed.
  472. * Init File::       How to write common customizations in the `.emacs'
  473.                      file.
  474. * Audible Bell::    Changing how XEmacs sounds the bell.
  475. * Faces::
  476.                     Changing the fonts and colors of a region of text.
  477.  
  478. Variables
  479.  
  480. * Examining::           Examining or setting one variable's value.
  481. * Edit Options::        Examining or editing list of all variables' values.
  482. * Locals::              Per-buffer values of variables.
  483. * File Variables::      How files can specify variable values.
  484.  
  485. Keyboard Macros
  486.  
  487. * Basic Kbd Macro::     Defining and running keyboard macros.
  488. * Save Kbd Macro::      Giving keyboard macros names; saving them in files.
  489. * Kbd Macro Query::     Keyboard macros that do different things each use.
  490.  
  491. Customizing Key Bindings
  492.  
  493. * Keymaps::    Definition of the keymap data structure.
  494.                Names of XEmacs's standard keymaps.
  495. * Rebinding::  How to redefine one key's meaning conveniently.
  496. * Disabling::  Disabling a command means confirmation is required
  497.                 before it can be executed.  This is done to protect
  498.                 beginners from surprises.
  499.  
  500. The Syntax Table
  501.  
  502. * Entry: Syntax Entry.    What the syntax table records for each character.
  503. * Change: Syntax Change.  How to change the information.
  504.  
  505. The Init File, `~/.emacs'
  506.  
  507. * Init Syntax::     Syntax of constants in Emacs Lisp.
  508. * Init Examples::   How to do some things with an init file.
  509. * Terminal Init::   Each terminal type can have an init file.
  510.  
  511. Dealing with XEmacs Trouble
  512.  
  513. * Stuck Recursive::    `[...]' in mode line around the parentheses.
  514. * Screen Garbled::     Garbage on the screen.
  515. * Text Garbled::       Garbage in the text.
  516. * Unasked-for Search:: Spontaneous entry to incremental search.
  517. * Emergency Escape::   Emergency escape--
  518.                         What to do if XEmacs stops responding.
  519. * Total Frustration::  When you are at your wits' end.
  520.  
  521. 
  522. File: xemacs.info,  Node: License,  Next: Distrib,  Prev: Top,  Up: Top
  523.  
  524. GNU GENERAL PUBLIC LICENSE
  525. **************************
  526.  
  527.                        Version 1, February 1989
  528.  
  529.      Copyright (C) 1989 Free Software Foundation, Inc.
  530.      675 Mass Ave, Cambridge, MA 02139, USA
  531.      
  532.      Everyone is permitted to copy and distribute verbatim copies
  533.      of this license document, but changing it is not allowed.
  534.  
  535. Preamble
  536. ========
  537.  
  538.    The license agreements of most software companies try to keep users
  539. at the mercy of those companies.  By contrast, our General Public
  540. License is intended to guarantee your freedom to share and change free
  541. software--to make sure the software is free for all its users.  The
  542. General Public License applies to the Free Software Foundation's
  543. software and to any other program whose authors commit to using it.
  544. You can use it for your programs, too.
  545.  
  546.    When we speak of free software, we are referring to freedom, not
  547. price.  Specifically, the General Public License is designed to make
  548. sure that you have the freedom to give away or sell copies of free
  549. software, that you receive source code or can get it if you want it,
  550. that you can change the software or use pieces of it in new free
  551. programs; and that you know you can do these things.
  552.  
  553.    To protect your rights, we need to make restrictions that forbid
  554. anyone to deny you these rights or to ask you to surrender the rights.
  555. These restrictions translate to certain responsibilities for you if you
  556. distribute copies of the software, or if you modify it.
  557.  
  558.    For example, if you distribute copies of a such a program, whether
  559. gratis or for a fee, you must give the recipients all the rights that
  560. you have.  You must make sure that they, too, receive or can get the
  561. source code.  And you must tell them their rights.
  562.  
  563.    We protect your rights with two steps: (1) copyright the software,
  564. and (2) offer you this license which gives you legal permission to copy,
  565. distribute and/or modify the software.
  566.  
  567.    Also, for each author's protection and ours, we want to make certain
  568. that everyone understands that there is no warranty for this free
  569. software.  If the software is modified by someone else and passed on, we
  570. want its recipients to know that what they have is not the original, so
  571. that any problems introduced by others will not reflect on the original
  572. authors' reputations.
  573.  
  574.    The precise terms and conditions for copying, distribution and
  575. modification follow.
  576.  
  577.                          TERMS AND CONDITIONS
  578.  
  579.   1. This License Agreement applies to any program or other work which
  580.      contains a notice placed by the copyright holder saying it may be
  581.      distributed under the terms of this General Public License.  The
  582.      "Program", below, refers to any such program or work, and a "work
  583.      based on the Program" means either the Program or any work
  584.      containing the Program or a portion of it, either verbatim or with
  585.      modifications.  Each licensee is addressed as "you".
  586.  
  587.   2. You may copy and distribute verbatim copies of the Program's source
  588.      code as you receive it, in any medium, provided that you
  589.      conspicuously and appropriately publish on each copy an
  590.      appropriate copyright notice and disclaimer of warranty; keep
  591.      intact all the notices that refer to this General Public License
  592.      and to the absence of any warranty; and give any other recipients
  593.      of the Program a copy of this General Public License along with
  594.      the Program.  You may charge a fee for the physical act of
  595.      transferring a copy.
  596.  
  597.   3. You may modify your copy or copies of the Program or any portion of
  598.      it, and copy and distribute such modifications under the terms of
  599.      Paragraph 1 above, provided that you also do the following:
  600.  
  601.         * cause the modified files to carry prominent notices stating
  602.           that you changed the files and the date of any change; and
  603.  
  604.         * cause the whole of any work that you distribute or publish,
  605.           that in whole or in part contains the Program or any part
  606.           thereof, either with or without modifications, to be licensed
  607.           at no charge to all third parties under the terms of this
  608.           General Public License (except that you may choose to grant
  609.           warranty protection to some or all third parties, at your
  610.           option).
  611.  
  612.         * If the modified program normally reads commands interactively
  613.           when run, you must cause it, when started running for such
  614.           interactive use in the simplest and most usual way, to print
  615.           or display an announcement including an appropriate copyright
  616.           notice and a notice that there is no warranty (or else,
  617.           saying that you provide a warranty) and that users may
  618.           redistribute the program under these conditions, and telling
  619.           the user how to view a copy of this General Public License.
  620.  
  621.         * You may charge a fee for the physical act of transferring a
  622.           copy, and you may at your option offer warranty protection in
  623.           exchange for a fee.
  624.  
  625.      Mere aggregation of another independent work with the Program (or
  626.      its derivative) on a volume of a storage or distribution medium
  627.      does not bring the other work under the scope of these terms.
  628.  
  629.   4. You may copy and distribute the Program (or a portion or
  630.      derivative of it, under Paragraph 2) in object code or executable
  631.      form under the terms of Paragraphs 1 and 2 above provided that you
  632.      also do one of the following:
  633.  
  634.         * accompany it with the complete corresponding machine-readable
  635.           source code, which must be distributed under the terms of
  636.           Paragraphs 1 and 2 above; or,
  637.  
  638.         * accompany it with a written offer, valid for at least three
  639.           years, to give any third party free (except for a nominal
  640.           charge for the cost of distribution) a complete
  641.           machine-readable copy of the corresponding source code, to be
  642.           distributed under the terms of Paragraphs 1 and 2 above; or,
  643.  
  644.         * accompany it with the information you received as to where the
  645.           corresponding source code may be obtained.  (This alternative
  646.           is allowed only for noncommercial distribution and only if you
  647.           received the program in object code or executable form alone.)
  648.  
  649.      Source code for a work means the preferred form of the work for
  650.      making modifications to it.  For an executable file, complete
  651.      source code means all the source code for all modules it contains;
  652.      but, as a special exception, it need not include source code for
  653.      modules which are standard libraries that accompany the operating
  654.      system on which the executable file runs, or for standard header
  655.      files or definitions files that accompany that operating system.
  656.  
  657.   5. You may not copy, modify, sublicense, distribute or transfer the
  658.      Program except as expressly provided under this General Public
  659.      License.  Any attempt otherwise to copy, modify, sublicense,
  660.      distribute or transfer the Program is void, and will automatically
  661.      terminate your rights to use the Program under this License.
  662.      However, parties who have received copies, or rights to use
  663.      copies, from you under this General Public License will not have
  664.      their licenses terminated so long as such parties remain in full
  665.      compliance.
  666.  
  667.   6. By copying, distributing or modifying the Program (or any work
  668.      based on the Program) you indicate your acceptance of this license
  669.      to do so, and all its terms and conditions.
  670.  
  671.   7. Each time you redistribute the Program (or any work based on the
  672.      Program), the recipient automatically receives a license from the
  673.      original licensor to copy, distribute or modify the Program
  674.      subject to these terms and conditions.  You may not impose any
  675.      further restrictions on the recipients' exercise of the rights
  676.      granted herein.
  677.  
  678.   8. The Free Software Foundation may publish revised and/or new
  679.      versions of the General Public License from time to time.  Such
  680.      new versions will be similar in spirit to the present version, but
  681.      may differ in detail to address new problems or concerns.
  682.  
  683.      Each version is given a distinguishing version number.  If the
  684.      Program specifies a version number of the license which applies to
  685.      it and "any later version", you have the option of following the
  686.      terms and conditions either of that version or of any later
  687.      version published by the Free Software Foundation.  If the Program
  688.      does not specify a version number of the license, you may choose
  689.      any version ever published by the Free Software Foundation.
  690.  
  691.   9. If you wish to incorporate parts of the Program into other free
  692.      programs whose distribution conditions are different, write to the
  693.      author to ask for permission.  For software which is copyrighted
  694.      by the Free Software Foundation, write to the Free Software
  695.      Foundation; we sometimes make exceptions for this.  Our decision
  696.      will be guided by the two goals of preserving the free status of
  697.      all derivatives of our free software and of promoting the sharing
  698.      and reuse of software generally.
  699.  
  700.                                 NO WARRANTY
  701.  
  702.  10. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
  703.      WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
  704.      LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  705.      HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
  706.      WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
  707.      NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  708.      FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
  709.      QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
  710.      PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  711.      SERVICING, REPAIR OR CORRECTION.
  712.  
  713.  11. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  714.      WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
  715.      MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
  716.      LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
  717.      INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
  718.      INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  719.      DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU
  720.      OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY
  721.      OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
  722.      ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  723.  
  724.                       END OF TERMS AND CONDITIONS
  725.  
  726. Appendix: How to Apply These Terms to Your New Programs
  727. =======================================================
  728.  
  729.    If you develop a new program, and you want it to be of the greatest
  730. possible use to humanity, the best way to achieve this is to make it
  731. free software which everyone can redistribute and change under these
  732. terms.
  733.  
  734.    To do so, attach the following notices to the program.  It is safest
  735. to attach them to the start of each source file to most effectively
  736. convey the exclusion of warranty; and each file should have at least the
  737. "copyright" line and a pointer to where the full notice is found.
  738.  
  739.      ONE LINE TO GIVE THE PROGRAM'S NAME AND A BRIEF IDEA OF WHAT IT DOES.
  740.      Copyright (C) 19YY  NAME OF AUTHOR
  741.      
  742.      This program is free software; you can redistribute it and/or modify
  743.      it under the terms of the GNU General Public License as published by
  744.      the Free Software Foundation; either version 1, or (at your option)
  745.      any later version.
  746.      
  747.      This program is distributed in the hope that it will be useful,
  748.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  749.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  750.      GNU General Public License for more details.
  751.      
  752.      You should have received a copy of the GNU General Public License
  753.      along with this program; if not, write to the Free Software
  754.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  755.  
  756.    Also add information on how to contact you by electronic and paper
  757. mail.
  758.  
  759.    If the program is interactive, make it output a short notice like
  760. this when it starts in an interactive mode:
  761.  
  762.      Gnomovision version 69, Copyright (C) 19YY NAME OF AUTHOR
  763.      Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  764.      This is free software, and you are welcome to redistribute it
  765.      under certain conditions; type `show c' for details.
  766.  
  767.    The hypothetical commands `show w' and `show c' should show the
  768. appropriate parts of the General Public License.  Of course, the
  769. commands you use may be called something other than `show w' and `show
  770. c'; they could even be mouse-clicks or menu items--whatever suits your
  771. program.
  772.  
  773.    You should also get your employer (if you work as a programmer) or
  774. your school, if any, to sign a "copyright disclaimer" for the program,
  775. if necessary.  Here a sample; alter the names:
  776.  
  777.      Yoyodyne, Inc., hereby disclaims all copyright interest in the
  778.      program `Gnomovision' (a program to direct compilers to make passes
  779.      at assemblers) written by James Hacker.
  780.      
  781.      SIGNATURE OF TY COON, 1 April 1989
  782.      Ty Coon, President of Vice
  783.  
  784.    That's all there is to it!
  785.  
  786. 
  787. File: xemacs.info,  Node: Distrib,  Next: Intro,  Prev: License,  Up: Top
  788.  
  789. Distribution
  790. ************
  791.  
  792.    XEmacs is "free"; this means that everyone is free to use it and
  793. free to redistribute it on a free basis.  XEmacs is not in the public
  794. domain; it is copyrighted and there are restrictions on its
  795. distribution, but these restrictions are designed to permit everything
  796. that a good cooperating citizen would want to do.  What is not allowed
  797. is to try to prevent others from further sharing any version of XEmacs
  798. that they might get from you.  The precise conditions are found in the
  799. GNU General Public License that comes with XEmacs and also appears
  800. following this section.
  801.  
  802.    The easiest way to get a copy of XEmacs is from someone else who has
  803. it.  You need not ask for permission to do so, or tell any one else;
  804. just copy it.
  805.  
  806.    If you have access to the Internet, you can get the latest version of
  807. XEmacs from the anonymous FTP server `ftp.cs.uiuc.edu' in the directory
  808. `/pub/xemacs'.  It can also be found at numerous other archive sites
  809. around the world; check the file `etc/DISTRIB' in an XEmacs
  810. distribution for the latest known list.
  811.  
  812. Getting Other Versions of Emacs
  813. ===============================
  814.  
  815.    The Free Software Foundation's version of Emacs (called "FSF Emacs"
  816. in this manual and often referred to as "GNU Emacs") is available by
  817. anonymous FTP from `prep.ai.mit.edu'.
  818.  
  819.    Win-Emacs, an older version of XEmacs that runs on Microsoft Windows
  820. and Windows NT, is available by anonymous FTP from `ftp.netcom.com' in
  821. the directory `/pub/pe/pearl', or from `ftp.cica.indiana.edu' as the
  822. files `wemdemo*.zip' in the directory `/pub/pc/win3/demo'.
  823.  
  824. 
  825. File: xemacs.info,  Node: Intro,  Next: Glossary,  Prev: Distrib,  Up: Top
  826.  
  827. Introduction
  828. ************
  829.  
  830.    You are reading about XEmacs, an incarnation of the advanced,
  831. self-documenting, customizable, extensible real-time display editor
  832. Emacs.  XEmacs provides many powerful display and user-interface
  833. capabilities not found in other Emacsen and is mostly upwardly
  834. compatible with GNU Emacs from the Free Software Foundation (referred
  835. to as "FSF Emacs" in this manual).  XEmacs also comes standard with a
  836. great number of useful packages.
  837.  
  838.    We say that XEmacs is a "display" editor because normally the text
  839. being edited is visible on the screen and is updated automatically as
  840. you type.  *Note Display: Frame.
  841.  
  842.    We call XEmacs a "real-time" editor because the display is updated
  843. very frequently, usually after each character or pair of characters you
  844. type.  This minimizes the amount of information you must keep in your
  845. head as you edit.  *Note Real-time: Basic.
  846.  
  847.    We call XEmacs advanced because it provides facilities that go beyond
  848. simple insertion and deletion: filling of text; automatic indentation of
  849. programs; viewing two or more files at once; and dealing in terms of
  850. characters, words, lines, sentences, paragraphs, and pages, as well as
  851. expressions and comments in several different programming languages.
  852. It is much easier to type one command meaning "go to the end of the
  853. paragraph" than to find that spot with simple cursor keys.
  854.  
  855.    "Self-documenting" means that at any time you can type a special
  856. character, `Control-h', to find out what your options are.  You can
  857. also use `C-h' to find out what a command does, or to find all the
  858. commands relevant to a topic.  *Note Help::.
  859.  
  860.    "Customizable" means you can change the definitions of XEmacs
  861. commands.  For example, if you use a programming language in which
  862. comments start with `<**' and end with `**>', you can tell the XEmacs
  863. comment manipulation commands to use those strings (*note Comments::.).
  864. Another sort of customization is rearrangement of the command set.
  865. For example, you can set up the four basic cursor motion commands (up,
  866. down, left and right) on keys in a diamond pattern on the keyboard if
  867. you prefer.  *Note Customization::.
  868.  
  869.    "Extensible" means you can go beyond simple customization and write
  870. entirely new commands, programs in the Lisp language to be run by
  871. XEmacs's own Lisp interpreter.  XEmacs is an "on-line extensible"
  872. system: it is divided into many functions that call each other.  You can
  873. redefine any function in the middle of an editing session and replace
  874. any part of XEmacs without making a separate copy of all of XEmacs.
  875. Most of the editing commands of XEmacs are written in Lisp; the few
  876. exceptions could have been written in Lisp but are written in C for
  877. efficiency.  Only a programmer can write an extension to XEmacs, but
  878. anybody can use it afterward.
  879.  
  880. 
  881. File: xemacs.info,  Node: Frame,  Next: Keystrokes,  Prev: Concept Index,  Up: Top
  882.  
  883. The XEmacs Frame
  884. ****************
  885.  
  886. Frame
  887.      In many environments, such as a tty terminal, an XEmacs frame
  888.      literally takes up the whole screen.  If you are running XEmacs in
  889.      a multi-window system like the X Window System, the XEmacs frame
  890.      takes up one X window.  *Note XEmacs under X::, for more
  891.      information.
  892.  
  893. Window
  894.      No matter what environment you are running in, XEmacs allows you
  895.      to look at several buffers at the same time by having several
  896.      windows be part of the frame.  Often, the whole frame is taken up
  897.      by just one window, but you can split the frame into two or more
  898.      subwindows.  If you are running XEmacs under the X window system,
  899.      that means you can have several "XEmacs windows" inside the X
  900.      window that contains the XEmacs frame.  You can even have multiple
  901.      frames in different X windows, each with their own set of
  902.      subwindows.
  903.  
  904.    Each XEmacs frame displays a variety of information:
  905.    * The biggest area usually displays the text you are editing.  It may
  906.      consist of one window or of two or more windows if you need to
  907.      look at two buffers a the same time.
  908.  
  909.    * Below each text window's last line is a "mode line" (*note Mode
  910.      Line::.), which describes what is going on in that window.  The
  911.      mode line is in inverse video if the terminal supports that.  If
  912.      there are several XEmacs windows in one frame, each window has its
  913.      own mode line.
  914.  
  915.    * At the bottom of each XEmacs frame is the "echo area" or
  916.      "minibuffer window"(*note Echo Area::.).  It is used by XEmacs to
  917.      exchange information with the user.  There is only one echo area
  918.      per XEmacs frame.
  919.  
  920.    * If you are running XEmacs under the X Window System, a menu bar at
  921.      the top of the frame makes shortcuts to several of the commands
  922.      available (*note Pull-down Menus::.).
  923.  
  924.    You can subdivide the XEmacs frame into multiple text windows, and
  925. use each window for a different file (*note Windows::.).  Multiple
  926. XEmacs windows are tiled vertically on the XEmacs frame.  The upper
  927. XEmacs window is separated from the lower window by its mode line.
  928.  
  929.    When there are multiple, tiled XEmacs windows on a single XEmacs
  930. frame, the XEmacs window receiving input from the keyboard has the
  931. "keyboard focus" and is called the "selected window".  The selected
  932. window contains the cursor, which indicates the insertion point.  If
  933. you are working in an environment that permits multiple XEmacs frames,
  934. and you move the focus from one XEmacs frame into another, the selected
  935. window is the one that was last selected in that frame.
  936.  
  937.    The same text can be displayed simultaneously in several XEmacs
  938. windows, which can be in different XEmacs frames.  If you alter the text
  939. in an XEmacs buffer by editing it in one XEmacs window, the changes are
  940. visible in all XEmacs windows containing that buffer.
  941.  
  942. * Menu:
  943.  
  944. * Point::            The place in the text where editing commands operate.
  945. * Echo Area::           Short messages appear at the bottom of the frame.
  946. * Mode Line::            Interpreting the mode line.
  947. * XEmacs under X::      Some information on using XEmacs under the X
  948.                         Window System.
  949.  
  950. 
  951. File: xemacs.info,  Node: Point,  Next: Echo Area,  Prev: Frame,  Up: Frame
  952.  
  953. Point
  954. =====
  955.  
  956.    When XEmacs is running, the cursor shows the location at which
  957. editing commands will take effect.  This location is called "point".
  958. You can use keystrokes or the mouse cursor to move point through the
  959. text and edit the text at different places.
  960.  
  961.    While the cursor appears to point AT a character, you should think
  962. of point as BETWEEN two characters: it points BEFORE the character on
  963. which the cursor appears.  Sometimes people speak of "the cursor" when
  964. they mean "point," or speak of commands that move point as "cursor
  965. motion" commands.
  966.  
  967.    Each XEmacs frame has only one cursor.  When output is in progress,
  968. the cursor must appear where the typing is being done.  This does not
  969. mean that point is moving.  It is only that XEmacs has no way to show
  970. you the location of point except when the terminal is idle.
  971.  
  972.    If you are editing several files in XEmacs, each file has its own
  973. point location.  A file that is not being displayed remembers where
  974. point is.  Point becomes visible at the correct location when you look
  975. at the file again.
  976.  
  977.    When there are multiple text windows, each window has its own point
  978. location.  The cursor shows the location of point in the selected
  979. window.  The visible cursor also shows you which window is selected.  If
  980. the same buffer appears in more than one window, point can be moved in
  981. each window independently.
  982.  
  983.    The term `point' comes from the character `.', which was the command
  984. in TECO (the language in which the original Emacs was written) for
  985. accessing the value now called `point'.
  986.  
  987. 
  988. File: xemacs.info,  Node: Echo Area,  Next: Mode Line,  Prev: Point,  Up: Frame
  989.  
  990. The Echo Area
  991. =============
  992.  
  993.    The line at the bottom of the frame (below the mode line) is the
  994. "echo area".  XEmacs uses this area to communicate with the user:
  995.  
  996.    *   "Echoing" means printing out the characters that the user types.
  997.      XEmacs never echoes single-character commands.  Multi-character
  998.      commands are echoed only if you pause while typing them: As soon
  999.      as you pause for more than one second in the middle of a command,
  1000.      all the characters of the command so far are echoed.  This is
  1001.      intended to "prompt" you for the rest of the command.  Once
  1002.      echoing has started, the rest of the command is echoed immediately
  1003.      as you type it.  This behavior is designed to give confident users
  1004.      fast response, while giving hesitant users maximum feedback.  You
  1005.      can change this behavior by setting a variable (*note Display
  1006.      Vars::.).
  1007.  
  1008.    *   If you issue a command that cannot be executed, XEmacs may print
  1009.      an "error message" in the echo area.  Error messages are
  1010.      accompanied by a beep or by flashing the frame.  Any input you
  1011.      have typed ahead is thrown away when an error happens.
  1012.  
  1013.    *   Some commands print informative messages in the echo area.  These
  1014.      messages look similar to error messages, but are not announced
  1015.      with a beep and do not throw away input.  Sometimes a message
  1016.      tells you what the command has done, when this is not obvious from
  1017.      looking at the text being edited.  Sometimes the sole purpose of a
  1018.      command is to print a message giving you specific information.
  1019.      For example, the command `C-x =' is used to print a message
  1020.      describing the character position of point in the text and its
  1021.      current column in the window.  Commands that take a long time
  1022.      often display messages ending in `...' while they are working, and
  1023.      add `done' at the end when they are finished.
  1024.  
  1025.    *   The echo area is also used to display the "minibuffer", a window
  1026.      that is used for reading arguments to commands, such as the name
  1027.      of a file to be edited.  When the minibuffer is in use, the echo
  1028.      area displays with a prompt string that usually ends with a colon.
  1029.      The cursor appears after the prompt.  You can always get out of
  1030.      the minibuffer by typing `C-g'.  *Note Minibuffer::.
  1031.  
  1032. 
  1033. File: xemacs.info,  Node: Mode Line,  Next: XEmacs under X,  Prev: Echo Area,  Up: Frame
  1034.  
  1035. The Mode Line
  1036. =============
  1037.  
  1038.    Each text window's last line is a "mode line" which describes what is
  1039. going on in that window.  When there is only one text window, the mode
  1040. line appears right above the echo area.  The mode line is in inverse
  1041. video if the terminal supports that, starts and ends with dashes, and
  1042. contains text like `XEmacs: SOMETHING'.
  1043.  
  1044.    If a mode line has something else in place of `XEmacs: SOMETHING',
  1045. the window above it is in a special subsystem such as Dired.  The mode
  1046. line then indicates the status of the subsystem.
  1047.  
  1048.    Normally, the mode line has the following appearance:
  1049.  
  1050.      --CH-XEmacs: BUF      (MAJOR MINOR)----POS------
  1051.  
  1052. This gives information about the buffer being displayed in the window:
  1053. the buffer's name, what major and minor modes are in use, whether the
  1054. buffer's text has been changed, and how far down the buffer you are
  1055. currently looking.
  1056.  
  1057.    CH contains two stars (`**') if the text in the buffer has been
  1058. edited (the buffer is "modified"), or two dashes (`--') if the buffer
  1059. has not been edited.  Exception: for a read-only buffer, it is `%%'.
  1060.  
  1061.    BUF is the name of the window's chosen "buffer".  The chosen buffer
  1062. in the selected window (the window that the cursor is in) is also
  1063. XEmacs's selected buffer, the buffer in which editing takes place.  When
  1064. we speak of what some command does to "the buffer", we mean the
  1065. currently selected buffer.  *Note Buffers::.
  1066.  
  1067.    POS tells you whether there is additional text above the top of the
  1068. screen or below the bottom.  If your file is small and it is completely
  1069. visible on the screen, POS is `All'.  Otherwise, POS is `Top' if you
  1070. are looking at the beginning of the file, `Bot' if you are looking at
  1071. the end of the file, or `NN%', where NN is the percentage of the file
  1072. above the top of the screen.
  1073.  
  1074.    MAJOR is the name of the "major mode" in effect in the buffer.  At
  1075. any time, each buffer is in one and only one major mode.  The available
  1076. major modes include Fundamental mode (the least specialized), Text
  1077. mode, Lisp mode, and C mode.  *Note Major Modes::, for details on how
  1078. the modes differ and how you select one.
  1079.  
  1080.    MINOR is a list of some of the "minor modes" that are turned on in
  1081. the window's chosen buffer.  For example, `Fill' means that Auto Fill
  1082. mode is on.  `Abbrev' means that Word Abbrev mode is on.  `Ovwrt' means
  1083. that Overwrite mode is on.  *Note Minor Modes::, for more information.
  1084. `Narrow' means that the buffer being displayed has editing restricted
  1085. to only a portion of its text.  This is not really a minor mode, but is
  1086. like one.  *Note Narrowing::.  `Def' means that a keyboard macro is
  1087. being defined.  *Note Keyboard Macros::.
  1088.  
  1089.    Some buffers display additional information after the minor modes.
  1090. For example, Rmail buffers display the current message number and the
  1091. total number of messages.  Compilation buffers and Shell mode display
  1092. the status of the subprocess.
  1093.  
  1094.    If XEmacs is currently inside a recursive editing level, square
  1095. brackets (`[...]') appear around the parentheses that surround the
  1096. modes.  If XEmacs is in one recursive editing level within another,
  1097. double square brackets appear, and so on.  Since information on
  1098. recursive editing applies to XEmacs in general and not to any one
  1099. buffer, the square brackets appear in every mode line on the screen or
  1100. not in any of them.  *Note Recursive Edit::.
  1101.  
  1102.    XEmacs can optionally display the time and system load in all mode
  1103. lines.  To enable this feature, type `M-x display-time'.  The
  1104. information added to the mode line usually appears after the file name,
  1105. before the mode names and their parentheses.  It looks like this:
  1106.  
  1107.      HH:MMpm L.LL [D]
  1108.  
  1109. (Some fields may be missing if your operating system cannot support
  1110. them.) HH and MM are the hour and minute, followed always by `am' or
  1111. `pm'.  L.LL is the average number of running processes in the whole
  1112. system recently.  D is an approximate index of the ratio of disk
  1113. activity to CPU activity for all users.
  1114.  
  1115.    The word `Mail' appears after the load level if there is mail for
  1116. you that you have not read yet.
  1117.  
  1118.    Customization note: the variable `mode-line-inverse-video' controls
  1119. whether the mode line is displayed in inverse video (assuming the
  1120. terminal supports it); `nil' means no inverse video.  The default is
  1121. `t'.  For X frames, simply set the foreground and background colors
  1122. appropriately.
  1123.  
  1124.